package cn.fjssj.demo02.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

// 任务状态枚举
@Getter
@AllArgsConstructor
public enum TaskHandleStatus {
    WAIT_HANDLE(0, "待处理"),
    IN_PROGRESS(1, "处理中"),
    SUCCEED(2, "处理成功"),
    FAILED(3, "处理失败"),
    WAIT_TO_RESTORE(4, "等待恢复")
    ;

    private final Integer code;
    private final String desc;
}
